package gdma.hqdes.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author wangyue
 * @Version 3.0
 * @Date 2024-07-31
 */

@Data
public class StatIndex implements IndexInfo, Serializable {

    @ApiModelProperty("id")
    @TableId
    Long id;

    @ApiModelProperty("指标版本id")
    Integer verId;

    @ApiModelProperty("指标代码，以字母S开头")
    String code;

    @ApiModelProperty("统计指标名称")
    String name;

    @ApiModelProperty("创建时间")
    Date createdTime;

    @ApiModelProperty("更新时间")
    Date updatedTime;

    @TableField(exist = false)
    List<StatIndexItem> items;

}
